<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=request.getContextPath()%>/" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>五折商场-核对订单</title>
<link type="text/css" rel="stylesheet" href="css/CheckOrder.css" />
<script type="text/javascript" src="js/order.js"></script>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
</head>
<body>
<form action="/page/user/add_order"  name="order_form" >
	<!-- 1.工具栏-->
	<div id="toolbar">
		<div id="div_1">
			<!-- 欢迎语-->
			<div id="d1_welcom">
				<span>欢迎来第五元素购物商城!</span>
			</div>
			<!-- 功能按钮-->
			<div id="d1_login">
				<ul>
					<li><a href="login.html">[登录]</a></li>
					<li><img src="images/welcom_1.gif" alt="" /></li>
					<li><a href="register.html">[免费注册]</a></li>
					<li><img src="images/welcom_1.gif" alt="" /></li>
					<li><a href="">我的订单</a></li>
					<li><img src="images/welcom_1.gif" alt="" /></li>
					<li><a href="">购物车0件</a></li>
				</ul>
			</div>

		</div>

	</div>

	<!-- 2.图片 -->
	<div id="div_2">

		<img src="images/img.gif" alt="" />

	</div>

	<div id="div_3">
		<div id="d3_logo">
			<img src="images/logo.jpg" alt="" />
		</div>

		<div id="d3_find">
			<ul id="d3_ul1">
				<li><input type="text" name="输入"></li>
				<li><a href="">搜索</a></li>
			</ul>
			<ul id="d3_ul2">
				<li><a href="">电脑数码</a></li>
				<li><a href="">家电通讯</a></li>
				<li><a href="">佳人名仕</a></li>
				<li><a href="">食品母婴</a></li>
				<li><a href="">生活专区</a></li>
				<li><a href="">图书音像</a></li>

			</ul>
		</div>

	</div>

	<!--4.导航-->
	<div id="div_4">
		<div id="d4_type"><a href="">商品分类</a></div>
		<div id="d4_ng">
			<ul>
				<li><a href="">首页</a></li>
				<li><a href="">论坛</a></li>
				<li><a href="">留言板</a></li>
				<li><a href="">个人信息</a></li>
				<li><a href="">充值</a></li>
			</ul>
		</div>
	</div>
	<!--5.中间代码部分-->
	<div id="center">

		<div id="centerright">
			<fieldset>
				<legend> 核对订单信息 </legend>
				<div id="centerrightnew">
					<h1>收货人信息:</h1>
					<table id="table1">
						<tr>
							<td>收货人姓名</td>
							<td><input type="text" name="Order_RecieverName"/></td>
							<td><span id="userName"></span></td>
						</tr>
						<tr>
							<td>地址</td>
							<td><input type="text" name="Order_Address" /></td>
						</tr>
						<tr>
							<td>联系电话</td>
							<td><input type="text" name="Order_Phone1"/></td>
							<td>或 固定电话</td>
							<td><input type="text" value="" name="Order_Phone2"/></td>
						</tr>
						<tr>
							<td>电子邮件</td>
							<td><input type="text" name=""/></td>
						</tr>
						<tr>
							<td>邮政编码</td>
							<td><input type="text" name=""/></td>
						</tr>
					</table>
				</div>
				<hr />
				<div id="divright2">
					<h1>支付及配货方式:</h1>
					<table id="table2">
						<tr>
							<td width="50%"><span>支付方式</span></td>
							<td width="50%"><span>备注</span></td>
						</tr>
						<tr>
							<td><input type="radio" name="PayType_Id" value="1" onclick="Order_DisCount();"/> <span>货到付款</span></td>
							<td><span>货到再付款，支付现金，pos机刷卡，支票支付</span></td>
						</tr>
						<tr>
							<td><input type="radio" name="PayType_Id" value="2" checked="checked" onclick="Order_DisCount();"/> <span>在线支付</span></td>
							<td><span>即时到帐，支持绝大数银行借记卡及部分银行信用卡</span></td>
						</tr>
						<tr>
							<td><input type="radio" name="PayType_Id" value="3" onclick="Order_DisCount();"/> <span>邮局汇款</span></td>
							<td><span>通过快钱平台收款 汇款后1-3个工作日到账</span></td>
						</tr>
					</table>

					<table id="table3">
						<tr>
							<td><span>配送方式</span></td>
							<td><span>运费</span></td>
							<td><span>货物在途时间</span></td>
							<td><span>备注</span></td>
						</tr>
						<tr>
							<td><input type="radio" name="orderShipno" value="1" checked="checked" id="orderShipno1" onclick="orderShipno1_fun();"/> <span>申通</span></td>
							<td><span>10.0</span></td>
							<td><span>货到再付款，支付现金，pos机刷卡，支票支付</span></td>
							<td><span>推荐使用</span></td>
						</tr>
						<tr>
							<td><input type="radio" name="orderShipno" value="2" id="orderShipno2" onclick="orderShipno2_fun();"/> <span>圆通</span></td>
							<td><span >10.0</span></td>
							<td><span>即时到帐，支持绝大数银行借记卡及部分银行信用卡</span></td>
							<td><span>适用大多用户</span></td>
						</tr>
						<tr>
							<td><input type="radio" name="orderShipno" value="3" id="orderShipno3" onclick="orderShipno3_fun();"/> <span>EMS</span></td>
							<td><span >15.0</span></td>
							<td><span>通过快钱平台收款 汇款后1-3个工作日到账</span></td>
							<td><span>紧急选用</span></td>
						</tr>
						<tr>
							<td><input type="radio" name="orderShipno" value="4" onclick="orderShipno4_fun();"/> <span>邮政</span></td>
							<td><span>8.0</span></td>
							<td><span>汇款后1-2个工作日到账</span></td>
							<td><span>稍微较慢</span></td>
						</tr>
					</table>
				</div>
				<div id="divright2_1">
					<table id="table4">
						<tr>
							<td id="date"><span>送货日期：</span></td>
							<td><input type="radio" name="Order_Remark" value="1"/> <span>只工作日送货(双休日、假日不用送)</span></td>
						</tr>
						<tr>
							<td></td>
							<td><input type="radio" name="Order_Remark" value="2" checked="checked"/> <span>工作日、双休日与假日均可送货</span></td>
						</tr>
						<tr>
							<td></td>
							<td><input type="radio" name="Order_Remark" value="3"/> <span>只双休日、假日送货(工作日不用送)</span></td>
						</tr>
						<tr>
							<td><span>是否送货前确认：</span></td>
							<td><input type="radio" name="yes" checked="checked"/> <span>是</span> <input
								type="radio" name="yes" /> <span>否</span></td>
						</tr>
					</table>
					<table id="table5">
						<tr>
							<td id="state">声明:</td>
						</tr>
						<tr>
							<td><span>1.我们会努力按照您指定的时间配送，但因各类因素影响，您的订单可能会有延误现象！</span></td>
						</tr>
						<tr>
							<td><span>2.部分服务仅在五折商城配送区域提供.非五折商城配送区域无法选择!</span></td>
						</tr>
						<tr>
							<td><span>3.为避免送货延迟,大件商品要尽快完成支付！以上敬请谅解!</span></td>
						</tr>
					</table>
				</div>
				<hr />
				<div id="divright2_2">
					<h1>商品清单:</h1>
					<table id="table6">
						<tr style="border-bottom: 7px solid #333;">
							<td><span>商品编号</span></td>
							<td><span>商品名称</span></td>
							<td><span>五折商城价</span></td>
							<td><span>库存状态</span></td>
							<td><span>商品数量</span></td>
						</tr>
						
						<c:forEach items="${basedto_list}" var="basedto">
                           <tr>
							<td><span>${basedto.shopGood.goodId }</span></td>
							<td><span>${basedto.shopGood.goodName }</span></td>
							<td><span>${basedto.shopGood.goodPrice }</span></td>
							<td><span>${basedto.shopGood.goodStock }</span></td>
							<td><span>${basedto.cartList.cartListNum }</span></td>
						   </tr>
                        </c:forEach>
						

					</table>
					<h1>结算信息:</h1>
					<table id="table7">
						<tr>
							<td>运输费用:<span id="orderShipfee"></span></td>
							<input type="hidden" value=${orderShipfee } name="orderShipfee" />
							<td>优惠金额:<span id="orderDis"></span></td>
							<input type="hidden" value=${orderdiscount } name="orderDiscount" />
							
						</tr>
						<tr>
							<td>最终金额:<span id="order_sum"></span></td>
							<input type="hidden" value=${OrderSumfee } name="orderSumfee" />
						</tr>
					</table>
				</div>
				<div id="div_button">
					<a href="#"><img src="images/submit_03.gif" onclick="order_submit();"/></a>
				</div>
			</fieldset>
		</div>
	</div>
</form>
	<!--6.底部代码-->
	<div id="Footer">
		<p>第五元素制作</p>
		<p>制作交流QQ群:259772627</p>
	</div>

</body>

</html>
